import fly from './fly'

export function getJsSdkConfig (url, apis) {
  return fly.get('js-sdk-config', { url, apis, r: Math.random() })
}

export function sendVerifyCode (data) {
  return fly.post('send-verify-code', data)
}

export function area () {
  return fly.get('/static/json/area.json', {}, {
    'responeWantRawJson': true,
    'baseURL': 'https://static.myconplus.com'
  })
}
